projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec65c6d
)
gtkdnd: Ensure we don't fold the drag icon into the cursor on wayland
author
Carlos Garnacho
<carlosg@gnome.org>
Thu, 19 Nov 2015 19:33:03 +0000
(20:33 +0100)
committer
Carlos Garnacho
<carlosg@gnome.org>
Thu, 19 Nov 2015 22:28:19 +0000
(23:28 +0100)
This is wrong by all accounts there, as we can do no tricks there to show
a "drag failed" animation, which is performed by the compositor itself
on wayland.
gtk/gtkdnd.c
patch
|
blob
|
history
diff --git
a/gtk/gtkdnd.c
b/gtk/gtkdnd.c
index 42bf8f1187361852b5cbdba7937ca9ef1dd8f27e..d495ca9179aa1715978c93ad321b9ad70993a798 100644
(file)
--- a/
gtk/gtkdnd.c
+++ b/
gtk/gtkdnd.c
@@
-786,7
+786,10
@@
gtk_drag_can_use_rgba_cursor (GdkDisplay *display,
gint height)
{
guint max_width, max_height;
-
+
+ if (GDK_IS_WAYLAND_DISPLAY (display))
+ return FALSE;
+
if (!gdk_display_supports_cursor_color (display))
return FALSE;